package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 刘海山
 * @data 2023/3/4 14:46
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Menus {

    private Integer id;

    private String name; //菜单名称

    private String icon;//一级菜单的图标

    private Integer parentId; //父级菜单

    private String link; //链接

    private List<Menus> childrenMenu; //对应的二级菜单
}
